package io.lckgroup.modules.lck.entity.wxgzhvo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;

import java.util.Map;

@Data
@XStreamAlias("xml")
public class VideoMessage extends BaseMessage {
    @XStreamAlias("MediaId")
    private String mediaId;
    @XStreamAlias("Title")
    private String title;
    @XStreamAlias("Description")
    private String description;

    public VideoMessage(Map<String, String> resultMap, String mediaId, String title, String description) {
        super(resultMap);
        this.setMsgType("video");
        this.description = description;
        this.mediaId = mediaId;
        this.title = title;
    }
}
